//2009/08/15 01:42:25
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class InsideOut
{
public:
    string unscramble(string line)
    {
		string s;
		for(int i=line.size()/2 - 1; i>=0; i--) s += line[i];
		for(int i=line.size()-1; i>=line.size()/2; i--) s += line[i];
		return s;
    }
};
